package com.shiminghui;

public class User {
    private String user;
    private String password;
    private String email;
    private String gender;
    private int age;

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public User(){

    }
    public User(String user,String password,String email,String gender,int age){
        this.user=user;
        this.password = password;
        this.email = email;
        this.gender = gender;
        this.age = age;
    }

    public String toString() {
        return "User{user = " + user + ", password = " + password + ", email = " + email + ", gender = " + gender + ", age = " + age + "}";
    }
}
